﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Text;
using System.Threading.Tasks;

namespace WcfInspectorLib
{
    /// <summary>
    /// 客户端请求服务器事件参数
    /// </summary>
    public class BeforeSendRequestEventArgs : EventArgs
    {
        public Message Message { get; set; }

        public IClientChannel Channel { get; set; }

        public BeforeSendRequestEventArgs() { }

        public BeforeSendRequestEventArgs(Message message, IClientChannel channel)
        {
            Message = message;
            Channel = channel;
        }
    }
}
